package cn.cycleif.app.domain.dto;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Date: 25/1/22-22:51
 * @Desc:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserRegisterDTO {

  private String username;

  @Email
  private String email;

  @Size(min = 6, max = 20)
  private String passwd;
}
